<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link href="${ctx!}/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="${ctx!}/static/css/font-awesome.min.css" rel="stylesheet">
    <link href="${ctx!}/static/css/index.css" rel="stylesheet">
    <title>Document</title>
</head>

<body>

<div class="container">
    <div class="row">
        <div class="page-header clearfix">
            <h2 class="pull-left">
                管理员界面
                <small>&#12288;添加监管机构</small>
            </h2>
            <ul class="nav nav-pills pull-right">
                <li><a href="/admin">首页</a></li>
                <li><a href="/admin/regulator" class="active">监管机构</a></li>
                <li><a href="/admin/healer">医疗机构</a></li>
            </ul>
        </div>
        <ul class="nav nav-pills">
            <li><a href="/admin/regulator">监管机构</a></li>
        </ul>
        <div class="panel">
            <div class="panel n-form">
                <form class="form-horizontal" action="/admin/regulator/form"
                      method="post">
                <#if id??>
                    <div class="form-group">
                        <label for="" class="col-md-4 control-label">uuid</label>
                        <div class="col-md-6">
                            <p class="form-control-static">${id}</p>
                        </div>
                    </div>
                </#if>
                    <div class="form-group">
                        <label for="" class="col-md-4 control-label">监管者</label>
                        <div class="col-md-6">
                            <input type="text" class="form-control" placeholder="监管者名称" name="name"
                                   value="${name}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="" class="col-md-4 control-label">联系方式</label>
                        <div class="col-md-6">
                            <input type="text" class="form-control" name="mobile"
                                   placeholder="联系方式">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-offset-4 col-md-9">
                            <button type="submit" class="btn btn-default">提交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>

    </div>
</div>
<!-- 全局js -->
<script src="${ctx!}/static/js/jquery.min.js"></script>
<script src="${ctx!}/static/js/bootstrap.min.js"></script>
</body>

</html>
